//
//  CZShowPictureViewController.m
//  packDemo
//
//  Created by apple on 16/6/20.
//  Copyright © 2016年 itcast. All rights reserved.
//

#import "CZShowPictureViewController.h"
#import <UIImageView+WebCache.h>
@interface CZShowPictureViewController ()

/**
 *
 */
@property (nonatomic,strong) UIImageView *iconImage;

@end

@implementation CZShowPictureViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [self pictureView];
}

-(void)pictureView{
    self.iconImage = [[UIImageView alloc]init];
    self.iconImage.frame = self.view.frame;
    [self.iconImage sd_setImageWithURL:[NSURL URLWithString:self.iconPicture.imgsrc]];
    
    [self.view addSubview:self.iconImage];

}



@end
